#pragma once
#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
#define ERROR 0
#define OK 1
#define TElemType char
typedef struct BiTNode
{
	TElemType data;
	struct BiTNode* Lchild, * Rchild;
}BiTNode, * BiTree;


void CreatBiTree_Pre(BiTree& BT);

void Visit(BiTree BT);

void PreOrder(BiTree BT);

void InOrder(BiTree BT);

void PostOrder(BiTree BT);

int LeafCount(BiTree& BT);

void ChangeLeftRight(BiTree BT);

int NodeCount(BiTree BT);

int Depth(BiTree BT);

void DestroyBiTree(BiTree BT);

void showmenu();

void binaryOP();

